package selef.xiafan.service;

import selef.xiafan.entity.Customer;
import selef.xiafan.entity.order.Order;
import selef.xiafan.query.OrderQ;
import selef.xiafan.util.result.PageResult;

import java.time.LocalDate;
import java.util.Collection;
import java.util.List;

public interface IOrderService {

    PageResult<Order> orderList(OrderQ orderQ);

    Integer addOrUpdate(Order order);

    Integer delete(Order order);

    Integer confirmOrder(Order order);

    PageResult<Order> orderItemList(OrderQ orderQ);

    PageResult<Order> customerOrderList(OrderQ orderQ);

    Integer batchDelete(List<Order> orderList);

    // 查询当日数量
    List<Order> getDayOrder();

    List<Order> getAll();

//    List<Order> queryWeekData();
}
